package com.aji.wineserver.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 历史数据表
 * @TableName history_data
 */
@TableName(value ="history_data")
@Data
public class HistoryData implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 样本id
     */
    private Integer wineId;

    /**
     * 鉴别方法id外键依赖
     */
    private Integer measureMethodsId;

    /**
     * 时间id，外键依赖
     */
    private Integer timeId;

    /**
     * 测量数据
     */
    private String data;

    /**
     * 数据来源
     */
    private Integer dataOrginId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}